package com.neuronrobotics.opengl.scene;



import android.opengl.GLES20;

public class SimpleMutableLineNode extends ArrayShapeNode {
		
	public SimpleMutableLineNode(GLHandles handles, float[] lineData){
		super(handles, lineData, new float[]{0,1,0,0,1,0}, GLES20.GL_LINES);
	}
	
	public void setPointA(float x, float y, float z){
		this.coordinates[0] = x;
		this.coordinates[1] = y;
		this.coordinates[2] = z;
		initialize();
	}
	
	public void setPointB(float x, float y, float z){
		this.coordinates[3] = x;
		this.coordinates[4] = y;
		this.coordinates[5] = z;
		initialize();
	}

				
}
